<%@ page import="com.situ.web.pojo.entity.Course" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 4/9/2024
  Time: 1:41 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    Course course = (Course)request.getAttribute("course");
%>
<form action="/course?method=update" method="post">
    <input type="hidden" name="id" value="<%=course.getId()%>">
    用户名:<input type="text" name="name" value="<%=course.getName()%>"><br>
    学分:<input type="text" name="credit" value="<%=course.getCredit()%>"><br>
    <input type="submit" value="编辑">
</form>
</body>
</html>
